<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- begin style -->
<link href="<?=$cfg['css_dir'].$cfg["css_show"]?>" rel="stylesheet" type="text/css" />
<link href="<?=$cfg['css_dir']?>popin.css" rel="stylesheet" type="text/css" />
<!-- end style -->

<!-- begin javascript -->
<script type="text/javascript" src="<?=$cfg['js_dir']?>jquery.js"></script>
<script type="text/javascript" src="<?=$cfg['js_dir']?>jquery_std.js"></script>
<script type="text/javascript" src="<?=$cfg['js_dir']?>metadata.js"></script>
<script type="text/javascript" src="<?=$cfg['js_dir']?>jq-flash.js"></script>
<script type="text/javascript" > _baseUrl="<?=makeUrl($pagename)?>"; _isLogged=<?=($cfg['islogged']==true)*1?>;</script>
<script type="text/javascript" src="<?=$cfg['js_dir']?>popin.js"></script>
<script type="text/javascript" src="<?=$cfg['js_dir']?>action.js"></script>
<!-- end javascript -->

<title><?=$cfg["titrewiki"]?> :: <?=$pagename?></title>
</head>
<body>
<div id="page" >
  <!-- begin left content -->
  <div id="lateral">
      <?=wiki2html("menu")?>
      <br />
      <?=$_SESSION['username']?><br />
      <? if ($cfg['islogged']): ?>
          <a href="<?=makeUrl($pagename)?>&logout=1">logout</a><br />
      <? endif; ?>
      <br />
      <?=langSwitcher($pagename);?>
      <?=wiki2html($pagename,"left")?>
  </div>
  <!-- end left content -->
  <!-- begin page content -->
  <div id="content">
      <?=wiki2html($pagename)?>
  </div>
  <!-- end page content -->
</div>
<!-- Last modified : <?=$lastmodified?> -->
</body>
</html>
